package cn.stylefeng.guns.modular.time.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.stylefeng.guns.modular.time.entity.Transaction;
import cn.stylefeng.guns.modular.time.model.request.TransactionRequest;
import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import java.util.List;
import java.util.Map;

public interface TransactionService extends IService<Transaction> {
    PageResult<Transaction> findPage(TransactionRequest request);
    void add(TransactionRequest request);
    void edit(TransactionRequest request);
    void delete(TransactionRequest request);
    List<Map<String, Object>> statsByCategory(TransactionRequest request);
}

